package com.zjcode.cdcer.mapper;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.CerArticleInfo;
import java.util.LinkedHashMap;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CerArticleInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(CerArticleInfo record);

    int insertSelective(CerArticleInfo record);

    CerArticleInfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(CerArticleInfo record);

    int updateByPrimaryKey(CerArticleInfo record);


    List<LinkedHashMap<String, Object>> listByPage(PageData pageData);

    int updateDeletedById(@Param("updatedDeleted")Integer updatedDeleted, @Param("id")String id);

    List<CerArticleInfo> selectAllByGroupId(@Param("group_id")String group_id);
}
